home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Libraries
/
Graphic Elements 3
/
GEDemo
/
Meter.h
< prev
next >
Wrap
Text File
|
1994-01-19
|
848b
|
58 lines
/*
Meter.h
System Use meter for GEDemo
Copyright 1993 by Al Evans. All rights reserved.
11/5/93
*/
#ifdef applec
#ifndef __cplusplus
#ifndef PRELOAD
#pragma load "::ToolKit.precompile"
#define PRELOAD
#endif
#endif
#endif
#ifndef GRAPHELEMENTS
#include "GraphElements.h"
#endif
//Resource numbers of PICTs making up meter
#define rMeterBkg 701
#define rMeterInd 700
//Meter position
#define meterLeft 174
#define meterTop 310
#define indLeft meterLeft + 2
#define indTop meterTop + 10
#define indHeight 10
//Meter planes
#define meterPlane rMeterBkg
#define indPlane meterPlane - 1
//Meter IDs
#define meterBkgID 'MTRB'
#define meterIndID 'MTRI'
#ifdef __cplusplus
extern "C" {
#endif
Boolean LoadUsageMeterScene(GEWorldPtr world);
pascal void SetMeterReading(GEWorldPtr world, short percent);
#ifdef __cplusplus
}
#endif